//
//  VIPChildViewController.swift
//  GhostWorld
//
//  Created by Kam on 2018/5/16.
//  Copyright © 2018 LKGood. All rights reserved.
//

import UIKit

protocol VIPChildViewControllerProtocal {
  func prepareUI()
  func getScrollView() -> UIScrollView
}

protocol VIPChildViewControllerScrollViewDelegate {
  func vipChildViewController(_ childViewController: UIViewController, didScroll contentOffsetY: CGFloat)
}

class VIPChildViewController: UIViewController, VIPChildViewControllerProtocal {
  func getScrollView() -> UIScrollView {
    return UIScrollView()
  }
  
  var scrollViewDelegate: VIPChildViewControllerScrollViewDelegate?
  
  func prepareUI() {
    
  }
}
